package com.mhkj.base.itemInfo.group.dao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import com.mhkj.base.itemInfo.group.entity.Group;
import com.mics.core.system.base.repository.BaseRepository;

public interface GroupDao extends BaseRepository<Group>{
	@Query("select t from Group t where t.item.id = :itemId")
	List<Group> getGroupByItemId(@Param("itemId")Long itemId);
}
